package com.fengmi.mapper;

import com.fengmi.entity.MallGoods;
import com.fengmi.view.ViewGoodsInfo;

import java.util.List;

/**
 * @Author 123
 * @Date 2022/2/10 11:19
 * @Version 1.0
 */

public interface MallGoodsMapper {
    //商品编号，商品名称，从属品牌，商品图片，价格，上下架，sku库存，销量，审核状态，操作

    //条件查询商品信息
    public List<MallGoods> findGoodsByWhere(MallGoods mallGoods);


    //基于视图的分页+条件查询
    public List<ViewGoodsInfo> findGoodsByPage(MallGoods mallGoods);

}
